package com.xingxue.service.impl;

import com.xingxue.dao.RecruitmentInfoDao;
import com.xingxue.service.RecruitmentInfoService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;

/**
 * @author zhangguangxin at 2018/10/24 22:47
 */
@Service
public class RecruitmentInfoServiceImpl implements RecruitmentInfoService {
    @Autowired
    RecruitmentInfoDao recruitmentInfoDao;

    @Override
    public List<HashMap<String, Object>> search() {
        return this.recruitmentInfoDao.search();
    }

    @Override
    public Integer add(HashMap<String, Object> param) {
        return this.recruitmentInfoDao.add(param);
    }

    @Override
    public Integer updateByID(HashMap<String, Object> param) {
        return this.recruitmentInfoDao.updateById(param);
    }

    @Override
    public Integer deleteByID(HashMap<String, Object> param) {
        return this.recruitmentInfoDao.deleteById(param);
    }

    @Override
    public Integer deleteCheckedByID(List<String> param) {
        return this.recruitmentInfoDao.deleteCheckedByID(param);
    }
}
